﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DemoGame1
{
    public abstract class GameEntity
    {
        public GameEntity()
        {
            Global.gameentity.Add(this);
        }
        public virtual int OnEvent(Global.EVENTS eventID, object sender, object arg)
        {
            return 0;
        }
        
    }
}
